Refactor/lean4 standard structure#158
Merged
gift-framework merged 5 commits intomainfrom Mar 22, 2026
Merged
Conversation
Move Lean code from Lean/ subdirectory to root (GIFT.lean, GIFT/), convert lakefile.toml to lakefile.lean, move tests to GIFTTest/, and isolate non-Lean assets (Python, homepage, blueprint, docs) into contrib/ directory. Root is now 100% Lean 4 compliant (Lake, Reservoir). - GIFT.lean and GIFT/ at root (standard Lean lib structure) - GIFTTest/ for Aristotle test files (standard convention) - lakefile.lean with Reservoir metadata (replaces lakefile.toml) - lake-manifest.json committed (was gitignored, required for Reservoir) - contrib/python/ for giftpy PyPI package - contrib/homepage/ for Jekyll site - contrib/blueprint/ for Leanblueprint - contrib/docs/ and contrib/CLAUDE.md - CI workflows updated for new paths - Zero Lean source code changes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove version/keywords fields not supported by Lake in Lean 4.27.0. Update lake-manifest.json after successful lake update + build (2638 jobs). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
leanblueprint doesn't support --blueprint-dir flag. Change to cd into contrib/blueprint/ directory before running pdf/web commands. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Bump version 3.3.47 → 3.4.0 across all files (Python, Lean, docs, homepage) - Fix 6 dead links from restructuring (stale Lean/ paths, build commands) - Update CHANGELOG with v3.4.0 entry documenting the full refactor - Update GIFT_STATUS version history table - Update homepage structure diagram and build instructions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
leanblueprint hardcodes blueprint/ relative to repo root (same as mathlib4). Move it back from contrib/blueprint/ and update all workflow paths, .gitignore, and documentation references. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.